package de.preisrobot.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name="anbieter")
public class Anbieter
{
   @Id
   private long id;
   
   private String name;
   
   private String homeUrl;
   
   @Temporal(TemporalType.TIMESTAMP)
   private Date creationDate;

   public long getId()
   {
      return id;
   }

   public void setId(long id)
   {
      this.id = id;
   }

   public String getName()
   {
      return name;
   }

   public void setName(String name)
   {
      this.name = name;
   }

   public String getHomeUrl()
   {
      return homeUrl;
   }

   public void setHomeUrl(String homeUrl)
   {
      this.homeUrl = homeUrl;
   }

   public Date getCreationDate()
   {
      return creationDate;
   }

   public void setCreationDate(Date creationDate)
   {
      this.creationDate = creationDate;
   }
}
